package com.chenfei.durid.controller;

import com.chenfei.durid.service.DuridService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenfei
 * @description
 * @since 2018/4/3
 */
@RestController
@Slf4j
public class DuridController {

    @Autowired
    DuridService scoreService;

    @GetMapping(value = "/score/add")
    public void addScore(){
        scoreService.addScore();
    }

}
